package com.cefa.edu.common;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author huangzehui
 * @date 18-8-17 下午2:16
 */
@Configuration
@Data
public class ConstantProperties {
    @Value("${tools.newwallet}")
    public   String newwallet;
    @Value("${tools.tostablejson}")
    public  String tostablejson;
    @Value("${tools.tosha3}")
    public  String tosha3;
    @Value("${tools.rcsign}")
    public  String rcsign;
    @Value("${contracts.deployfile}")
    public  String deployfile;
    @Value("${contracts.addfilerecord}")
    public  String addfilerecord;
    @Value("${contracts.viewfiles}")
    public  String viewfiles;


    @Value("${user.role.admin}")
    public  Integer admin;
    @Value("${user.role.phasemanager}")
    public  Integer phasemanager;
    @Value("${user.role.grademanager}")
    public  Integer grademanager;
    @Value("${user.role.director}")
    public  Integer director;
    @Value("${user.role.instructor}")
    public  Integer instructor;
    @Value("${user.role.guardian}")
    public  Integer guardian;
    @Value("${user.role.student}")
    public  Integer student;


    @Value("${education.stage.kindergarten}")
    public  Integer kindergarten;
    @Value("${education.stage.junior}")
    public  Integer junior;
    @Value("${education.stage.middle}")
    public  Integer middle;
    @Value("${education.stage.senior}")
    public  Integer senior;
}
